<br>
<p id="notice"><%= notice %></p>

<p>
  <b>Name:</b>
  <%= @account.name %>
</p>

<p>
  <b>Email:</b>
  <%= @account.email %>
</p>
<p>
  <b>Status:</b>
  <%= @account.status ? "Si" : "No" %>
</p>

<p>
  <b>Admin:</b>
  <%= @account.admin ? "Si" : "No" %>
</p>

<p>
  <b>Categorias:</b>
  <%= @account.categories.map{|p| p.name}.to_sentence %>
</p>



<%= link_to 'Editar', edit_account_path(@account), :class => "btn btn-primary" %>
<%= link_to 'Regresar', accounts_path, :class => "btn btn-warning" %>
